package com.wuage.interfaces.dictionary.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

@Data
@ApiModel("数据字典")
public class UacDictionaryDO {

    @ApiModelProperty(value = "类别", required = true)
    @NotBlank(message = "字典类别不能为空")
    private String classification;

    @ApiModelProperty(value = "属性名", required = true)
    @NotBlank(message = "属性名不能为空")
    private String target;

    @ApiModelProperty(value = "属性值", required = true)
    @NotBlank(message = "属性值不能为空")
    private String value;

    @ApiModelProperty("父级Id")
    private Long parentId;

    @ApiModelProperty("用户Id")
    private Long accountId;
}
